_gggg_eeee_tttt_tttt_xxxx_tttt retrieves a text string from a message file in the directory
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS. The directory name _l_o_c_a_l_e
corresponds to the language in which the text strings are written; see
_ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C) and _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5).
_m_s_g_f_i_l_e Name of the file from which to retrieve _m_s_g_n_u_m. The name can
be up to 14 characters in length, but may not contain either \0
(_NNNN_UUUU_LLLL_LLLL) or the characters _//// (slash) or _:::: (colon).
_m_s_g_n_u_m Sequence number of the string to retrieve from _m_s_g_f_i_l_e. The
strings in _m_s_g_f_i_l_e are numbered sequentially from 1 to _n, where
_n is the number of strings in the file.
_d_f_l_t__m_s_g Default string to be displayed if _gggg_eeee_tttt_tttt_xxxx_tttt fails to retrieve
_m_s_g_n_u_m from _m_s_g_f_i_l_e. Nongraphic characters must be represented
as alphabetic escape sequences.
The text string to be retrieved is in the file _m_s_g_f_i_l_e, created by the
_mmmm_kkkk_mmmm_ssss_gggg_ssss(1) utility and installed under the directory
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS. The directory searched is specified
by the environment variable _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS. If _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS is not set, the
environment variable _LLLL_AAAA_NNNN_GGGG will be used. If _LLLL_AAAA_NNNN_GGGG is not set, the files
If _gggg_eeee_tttt_tttt_xxxx_tttt fails to retrieve a message in the requested language, it will
try to retrieve the same message from
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_m_s_g_f_i_l_e. If this also fails, and if
_d_f_l_t__m_s_g is present and non-empty, then it will display the value of
_d_f_l_t__m_s_g; if _d_f_l_t__m_s_g is not present or is empty, then it will display
the string _MMMM_eeee_ssss_ssss_aaaa_gggg_eeee _nnnn_oooo_tttt _ffff_oooo_uuuu_nnnn_dddd_!!!!_!!!!_\\\\_nnnn. If the environment variables _LLLL_AAAA_NNNN_GGGG or
_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS have not been set to other than their default values,
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_UUUU_XXXX. If the retrieval fails, the message
_hhhh_eeee_llll_llll_oooo _wwww_oooo_rrrr_llll_dddd, followed by a newline, will be displayed.